package com.geeguo.ebuilder.client.business.system.organization.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Getter
@Setter
public class OrganizationCreateDTO {

    @Schema(title = "父级Id")
    private String     parentId;

    @NotBlank(message = "名称不能为空")
    @Schema(title = "名称")
    private String     name;

    @NotNull(message = "启用状态不能为空")
    @Schema(title = "启用状态")
    private Integer    state;
}